package org.mcflier.appuntamento.io.driver.db;

import java.util.Properties;

import org.mcflier.appuntamento.core.Factory;
import org.mcflier.appuntamento.core.exception.ModulesException;
import org.mcflier.appuntamento.core.properties.PropertiesManager;
import org.mcflier.appuntamento.io.driver.db.interfaces.IJDBCDriver;

public abstract class AbstractJDBCDriver implements IJDBCDriver {
	
	private Properties properties;
	
	public AbstractJDBCDriver() throws ModulesException{
		this.properties = ((PropertiesManager)Factory.getInstance().getModuleInstance(Factory.MODULE_PROPERTIES)).getProperties();
	}
	
	protected Properties getProperties(){
		return this.properties;
	}
}
